﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace BusinessPlatform.Core.BusinessObject
{
    public interface IBusinessObjectListBaseT<ChildType> : IList<ChildType>, IBusinessObjectListBase
    {
        /// <summary>
        /// 添加对象
        /// </summary>
        /// <returns></returns>
        ChildType New();
        /// <summary>
        /// 重写IList类型的Add方法，用于把对象注册到父对象的属性中。
        /// </summary>
        /// <param name="item"></param>
        new void Add(ChildType item);
        ///// <summary>
        ///// 获取父对象
        ///// </summary>
        //ParentType Parent { get; }
    }
}
